package com.itheima.mapper;

import com.itheima.VO.OrderDataVO;
import com.itheima.pojo.OrderSetting;
import com.itheima.pojo.OrderSettingVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

@Mapper
public interface OrderSettingMapper {




    List<OrderSettingVO> getordersettingByMonth(String month);



    @Select("select * from t_ordersetting")
    List<OrderSetting> getOrderSetting();

    void updateNumberByOrderDate(OrderDataVO date);

    Integer countByMap(Map map);

    Integer countArrByMap(Map map);

    @Select("select regTime from  t_member where id=#{i}")
    LocalDate getvipnumbers(Integer i);


    Integer getnumberByMap(Map map);
}

